\section{slave\+\_\+config.\+h File Reference}
\label{slave__config_8h}\index{slave\+\_\+config.\+h@{slave\+\_\+config.\+h}}


Ether\+C\+AT slave configuration structure.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ ec\+\_\+slave\+\_\+config}
\begin{DoxyCompactList}\small\item\em Ether\+C\+AT slave configuration. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \textbf{ E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+FO}(sc,  fmt,  args...)
\begin{DoxyCompactList}\small\item\em Convenience macro for printing configuration-\/specific information to syslog. \end{DoxyCompactList}\item 
\#define \textbf{ E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+E\+RR}(sc,  fmt,  args...)
\begin{DoxyCompactList}\small\item\em Convenience macro for printing configuration-\/specific errors to syslog. \end{DoxyCompactList}\item 
\#define \textbf{ E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+W\+A\+RN}(sc,  fmt,  args...)
\begin{DoxyCompactList}\small\item\em Convenience macro for printing configuration-\/specific warnings to syslog. \end{DoxyCompactList}\item 
\#define \textbf{ E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+D\+BG}(sc,  level,  fmt,  args...)
\begin{DoxyCompactList}\small\item\em Convenience macro for printing configuration-\/specific debug messages to syslog. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \textbf{ ec\+\_\+slave\+\_\+config\+\_\+init} (\textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$, \textbf{ ec\+\_\+master\+\_\+t} $\ast$, uint16\+\_\+t, uint16\+\_\+t, uint32\+\_\+t, uint32\+\_\+t)
\begin{DoxyCompactList}\small\item\em Slave configuration constructor. \end{DoxyCompactList}\item 
void \textbf{ ec\+\_\+slave\+\_\+config\+\_\+clear} (\textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$)
\begin{DoxyCompactList}\small\item\em Slave configuration destructor. \end{DoxyCompactList}\item 
int \textbf{ ec\+\_\+slave\+\_\+config\+\_\+attach} (\textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$)
\begin{DoxyCompactList}\small\item\em Attaches the configuration to the addressed slave object. \end{DoxyCompactList}\item 
\mbox{\label{slave__config_8h_aa39222478a857c6f0edac29d6b22350a}} 
void \textbf{ ec\+\_\+slave\+\_\+config\+\_\+detach} (\textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$)
\begin{DoxyCompactList}\small\item\em Detaches the configuration from a slave object. \end{DoxyCompactList}\item 
\mbox{\label{slave__config_8h_a6e141708e094e2e5ad9ea266696537af}} 
void \textbf{ ec\+\_\+slave\+\_\+config\+\_\+load\+\_\+default\+\_\+sync\+\_\+config} (\textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$)
\begin{DoxyCompactList}\small\item\em Loads the default P\+DO assignment from the slave object. \end{DoxyCompactList}\item 
unsigned int \textbf{ ec\+\_\+slave\+\_\+config\+\_\+sdo\+\_\+count} (const \textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$)
\begin{DoxyCompactList}\small\item\em Get the number of S\+DO configurations. \end{DoxyCompactList}\item 
const \textbf{ ec\+\_\+sdo\+\_\+request\+\_\+t} $\ast$ \textbf{ ec\+\_\+slave\+\_\+config\+\_\+get\+\_\+sdo\+\_\+by\+\_\+pos\+\_\+const} (const \textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$, unsigned int)
\begin{DoxyCompactList}\small\item\em Finds an S\+DO configuration via its position in the list. \end{DoxyCompactList}\item 
unsigned int \textbf{ ec\+\_\+slave\+\_\+config\+\_\+idn\+\_\+count} (const \textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$)
\begin{DoxyCompactList}\small\item\em Get the number of I\+DN configurations. \end{DoxyCompactList}\item 
const \textbf{ ec\+\_\+soe\+\_\+request\+\_\+t} $\ast$ \textbf{ ec\+\_\+slave\+\_\+config\+\_\+get\+\_\+idn\+\_\+by\+\_\+pos\+\_\+const} (const \textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$, unsigned int)
\begin{DoxyCompactList}\small\item\em Finds an I\+DN configuration via its position in the list. \end{DoxyCompactList}\item 
\textbf{ ec\+\_\+sdo\+\_\+request\+\_\+t} $\ast$ \textbf{ ec\+\_\+slave\+\_\+config\+\_\+find\+\_\+sdo\+\_\+request} (\textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$, unsigned int)
\begin{DoxyCompactList}\small\item\em Finds a CoE handler via its position in the list. \end{DoxyCompactList}\item 
\textbf{ ec\+\_\+reg\+\_\+request\+\_\+t} $\ast$ \textbf{ ec\+\_\+slave\+\_\+config\+\_\+find\+\_\+reg\+\_\+request} (\textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$, unsigned int)
\begin{DoxyCompactList}\small\item\em Finds a register handler via its position in the list. \end{DoxyCompactList}\item 
\textbf{ ec\+\_\+voe\+\_\+handler\+\_\+t} $\ast$ \textbf{ ec\+\_\+slave\+\_\+config\+\_\+find\+\_\+voe\+\_\+handler} (\textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$, unsigned int)
\begin{DoxyCompactList}\small\item\em Finds a VoE handler via its position in the list. \end{DoxyCompactList}\item 
\mbox{\label{slave__config_8h_aeb245bf380388075266cde531b8f578e}} 
\textbf{ ec\+\_\+sdo\+\_\+request\+\_\+t} $\ast$ \textbf{ ecrt\+\_\+slave\+\_\+config\+\_\+create\+\_\+sdo\+\_\+request\+\_\+err} (\textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$, uint16\+\_\+t, uint8\+\_\+t, size\+\_\+t)
\begin{DoxyCompactList}\small\item\em Same as \doxyref{ecrt\+\_\+slave\+\_\+config\+\_\+create\+\_\+sdo\+\_\+request()}{p.}{group__ApplicationInterface_ga14aa167c0d4afd84b0fbada417a204f1}, but with E\+R\+R\+\_\+\+P\+T\+R() return value. \end{DoxyCompactList}\item 
\mbox{\label{slave__config_8h_ac689789b2a34a2e2c3c2acf401d41e56}} 
\textbf{ ec\+\_\+voe\+\_\+handler\+\_\+t} $\ast$ \textbf{ ecrt\+\_\+slave\+\_\+config\+\_\+create\+\_\+voe\+\_\+handler\+\_\+err} (\textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$, size\+\_\+t)
\begin{DoxyCompactList}\small\item\em Same as \doxyref{ecrt\+\_\+slave\+\_\+config\+\_\+create\+\_\+voe\+\_\+handler()}{p.}{group__ApplicationInterface_ga6341627f6bf764312dd6e8c3140e9be1}, but with E\+R\+R\+\_\+\+P\+T\+R() return value. \end{DoxyCompactList}\item 
\mbox{\label{slave__config_8h_afd699b4b268868a4a27a26aa6384ded6}} 
\textbf{ ec\+\_\+reg\+\_\+request\+\_\+t} $\ast$ \textbf{ ecrt\+\_\+slave\+\_\+config\+\_\+create\+\_\+reg\+\_\+request\+\_\+err} (\textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$, size\+\_\+t)
\begin{DoxyCompactList}\small\item\em Same as \doxyref{ecrt\+\_\+slave\+\_\+config\+\_\+create\+\_\+reg\+\_\+request()}{p.}{group__ApplicationInterface_ga1805e57c39e7bb12840c5e2589021dbe}, but with E\+R\+R\+\_\+\+P\+T\+R() return value. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Ether\+C\+AT slave configuration structure. 



\subsection{Macro Definition Documentation}
\mbox{\label{slave__config_8h_a7eeb6d909155c106ec7e67f19c2c85ad}} 
\index{slave\+\_\+config.\+h@{slave\+\_\+config.\+h}!E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+FO@{E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+FO}}
\index{E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+FO@{E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+FO}!slave\+\_\+config.\+h@{slave\+\_\+config.\+h}}
\subsubsection{E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+FO}
{\footnotesize\ttfamily \#define E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+I\+N\+FO(\begin{DoxyParamCaption}\item[{}]{sc,  }\item[{}]{fmt,  }\item[{}]{args... }\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}
printk(KERN\_INFO \textcolor{stringliteral}{"EtherCAT %u %u:%u: "} fmt, sc->master->index, \(\backslash\)
            sc->alias, sc->position, ##args)
\end{DoxyCode}


Convenience macro for printing configuration-\/specific information to syslog. 

This will print the message in {\itshape fmt} with a prefixed \char`\"{}\+Ether\+C\+A\+T $<$\+I\+N\+D\+E\+X$>$ $<$\+A\+L\+I\+A\+S$>$\+:$<$\+P\+O\+S\+I\+T\+I\+O\+N$>$\+: \char`\"{}, where I\+N\+D\+EX is the master index and A\+L\+I\+AS and P\+O\+S\+I\+T\+I\+ON identify the configuration.


\begin{DoxyParams}{Parameters}
{\em sc} & Ether\+C\+AT slave configuration \\
\hline
{\em fmt} & format string (like in printf()) \\
\hline
{\em args} & arguments (optional) \\
\hline
\end{DoxyParams}


Definition at line 61 of file slave\+\_\+config.\+h.

\mbox{\label{slave__config_8h_a295443b66bd44e07fe464ed83ead05fc}} 
\index{slave\+\_\+config.\+h@{slave\+\_\+config.\+h}!E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+E\+RR@{E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+E\+RR}}
\index{E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+E\+RR@{E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+E\+RR}!slave\+\_\+config.\+h@{slave\+\_\+config.\+h}}
\subsubsection{E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+E\+RR}
{\footnotesize\ttfamily \#define E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+E\+RR(\begin{DoxyParamCaption}\item[{}]{sc,  }\item[{}]{fmt,  }\item[{}]{args... }\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}
printk(KERN\_ERR \textcolor{stringliteral}{"EtherCAT ERROR %u %u:%u: "} fmt, sc->master->index, \(\backslash\)
            sc->alias, sc->position, ##args)
\end{DoxyCode}


Convenience macro for printing configuration-\/specific errors to syslog. 

This will print the message in {\itshape fmt} with a prefixed \char`\"{}\+Ether\+C\+A\+T $<$\+I\+N\+D\+E\+X$>$ $<$\+A\+L\+I\+A\+S$>$\+:$<$\+P\+O\+S\+I\+T\+I\+O\+N$>$\+: \char`\"{}, where I\+N\+D\+EX is the master index and A\+L\+I\+AS and P\+O\+S\+I\+T\+I\+ON identify the configuration.


\begin{DoxyParams}{Parameters}
{\em sc} & Ether\+C\+AT slave configuration \\
\hline
{\em fmt} & format string (like in printf()) \\
\hline
{\em args} & arguments (optional) \\
\hline
\end{DoxyParams}


Definition at line 75 of file slave\+\_\+config.\+h.

\mbox{\label{slave__config_8h_a3115d8b69eddec5caf436c109fbf5b41}} 
\index{slave\+\_\+config.\+h@{slave\+\_\+config.\+h}!E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+W\+A\+RN@{E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+W\+A\+RN}}
\index{E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+W\+A\+RN@{E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+W\+A\+RN}!slave\+\_\+config.\+h@{slave\+\_\+config.\+h}}
\subsubsection{E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+W\+A\+RN}
{\footnotesize\ttfamily \#define E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+W\+A\+RN(\begin{DoxyParamCaption}\item[{}]{sc,  }\item[{}]{fmt,  }\item[{}]{args... }\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}
printk(KERN\_WARNING \textcolor{stringliteral}{"EtherCAT WARNING %u %u:%u: "} fmt, \(\backslash\)
            sc->master->index, sc->alias, sc->position, ##args)
\end{DoxyCode}


Convenience macro for printing configuration-\/specific warnings to syslog. 

This will print the message in {\itshape fmt} with a prefixed \char`\"{}\+Ether\+C\+A\+T $<$\+I\+N\+D\+E\+X$>$ $<$\+A\+L\+I\+A\+S$>$\+:$<$\+P\+O\+S\+I\+T\+I\+O\+N$>$\+: \char`\"{}, where I\+N\+D\+EX is the master index and A\+L\+I\+AS and P\+O\+S\+I\+T\+I\+ON identify the configuration.


\begin{DoxyParams}{Parameters}
{\em sc} & Ether\+C\+AT slave configuration \\
\hline
{\em fmt} & format string (like in printf()) \\
\hline
{\em args} & arguments (optional) \\
\hline
\end{DoxyParams}


Definition at line 89 of file slave\+\_\+config.\+h.

\mbox{\label{slave__config_8h_a7aa9e6ccd549993399cfb813f6f81643}} 
\index{slave\+\_\+config.\+h@{slave\+\_\+config.\+h}!E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+D\+BG@{E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+D\+BG}}
\index{E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+D\+BG@{E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+D\+BG}!slave\+\_\+config.\+h@{slave\+\_\+config.\+h}}
\subsubsection{E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+D\+BG}
{\footnotesize\ttfamily \#define E\+C\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+D\+BG(\begin{DoxyParamCaption}\item[{}]{sc,  }\item[{}]{level,  }\item[{}]{fmt,  }\item[{}]{args... }\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}
\textcolor{keywordflow}{do} \{ \(\backslash\)
        if (sc->master->debug\_level >= level) \{ \(\backslash\)
            printk(KERN\_DEBUG \textcolor{stringliteral}{"EtherCAT DEBUG %u %u:%u: "} fmt, \(\backslash\)
                    sc->master->index, sc->alias, sc->position, ##args); \(\backslash\)
        \} \(\backslash\)
    \} \textcolor{keywordflow}{while} (0)
\end{DoxyCode}


Convenience macro for printing configuration-\/specific debug messages to syslog. 

This will print the message in {\itshape fmt} with a prefixed \char`\"{}\+Ether\+C\+A\+T $<$\+I\+N\+D\+E\+X$>$ $<$\+A\+L\+I\+A\+S$>$\+:$<$\+P\+O\+S\+I\+T\+I\+O\+N$>$\+: \char`\"{}, where I\+N\+D\+EX is the master index and A\+L\+I\+AS and P\+O\+S\+I\+T\+I\+ON identify the configuration.


\begin{DoxyParams}{Parameters}
{\em sc} & Ether\+C\+AT slave configuration \\
\hline
{\em level} & Debug level. Master\textquotesingle{}s debug level must be $>$= {\itshape level} for output. \\
\hline
{\em fmt} & format string (like in printf()) \\
\hline
{\em args} & arguments (optional) \\
\hline
\end{DoxyParams}


Definition at line 106 of file slave\+\_\+config.\+h.



\subsection{Function Documentation}
\mbox{\label{slave__config_8h_a1f74fc37c81571a4ce339c0fb07d6223}} 
\index{slave\+\_\+config.\+h@{slave\+\_\+config.\+h}!ec\+\_\+slave\+\_\+config\+\_\+init@{ec\+\_\+slave\+\_\+config\+\_\+init}}
\index{ec\+\_\+slave\+\_\+config\+\_\+init@{ec\+\_\+slave\+\_\+config\+\_\+init}!slave\+\_\+config.\+h@{slave\+\_\+config.\+h}}
\subsubsection{ec\+\_\+slave\+\_\+config\+\_\+init()}
{\footnotesize\ttfamily void ec\+\_\+slave\+\_\+config\+\_\+init (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$}]{sc,  }\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{uint16\+\_\+t}]{alias,  }\item[{uint16\+\_\+t}]{position,  }\item[{uint32\+\_\+t}]{vendor\+\_\+id,  }\item[{uint32\+\_\+t}]{product\+\_\+code }\end{DoxyParamCaption})}



Slave configuration constructor. 

See \doxyref{ecrt\+\_\+master\+\_\+slave\+\_\+config()}{p.}{group__ApplicationInterface_gaa190a5d3aa2a72b8950ef93aa7baab0b} for the usage of the {\itshape alias} and {\itshape position} parameters. 
\begin{DoxyParams}{Parameters}
{\em sc} & Slave configuration. \\
\hline
{\em master} & Ether\+C\+AT master. \\
\hline
{\em alias} & Slave alias. \\
\hline
{\em position} & Slave position. \\
\hline
{\em vendor\+\_\+id} & Expected vendor ID. \\
\hline
{\em product\+\_\+code} & Expected product code. \\
\hline
\end{DoxyParams}


Definition at line 55 of file slave\+\_\+config.\+c.

\mbox{\label{slave__config_8h_a5eb139fdc11dfc4c540fc43259eaa773}} 
\index{slave\+\_\+config.\+h@{slave\+\_\+config.\+h}!ec\+\_\+slave\+\_\+config\+\_\+clear@{ec\+\_\+slave\+\_\+config\+\_\+clear}}
\index{ec\+\_\+slave\+\_\+config\+\_\+clear@{ec\+\_\+slave\+\_\+config\+\_\+clear}!slave\+\_\+config.\+h@{slave\+\_\+config.\+h}}
\subsubsection{ec\+\_\+slave\+\_\+config\+\_\+clear()}
{\footnotesize\ttfamily void ec\+\_\+slave\+\_\+config\+\_\+clear (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$}]{sc }\end{DoxyParamCaption})}



Slave configuration destructor. 

Clears and frees a slave configuration object. 
\begin{DoxyParams}{Parameters}
{\em sc} & Slave configuration. \\
\hline
\end{DoxyParams}


Definition at line 102 of file slave\+\_\+config.\+c.

\mbox{\label{slave__config_8h_ab03a5b77c51578728a32d17d007364cc}} 
\index{slave\+\_\+config.\+h@{slave\+\_\+config.\+h}!ec\+\_\+slave\+\_\+config\+\_\+attach@{ec\+\_\+slave\+\_\+config\+\_\+attach}}
\index{ec\+\_\+slave\+\_\+config\+\_\+attach@{ec\+\_\+slave\+\_\+config\+\_\+attach}!slave\+\_\+config.\+h@{slave\+\_\+config.\+h}}
\subsubsection{ec\+\_\+slave\+\_\+config\+\_\+attach()}
{\footnotesize\ttfamily int ec\+\_\+slave\+\_\+config\+\_\+attach (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$}]{sc }\end{DoxyParamCaption})}



Attaches the configuration to the addressed slave object. 


\begin{DoxyRetVals}{Return values}
{\em 0} & Success. \\
\hline
{\em $<$0} & Error code. \\
\hline
\end{DoxyRetVals}

\begin{DoxyParams}{Parameters}
{\em sc} & Slave configuration. \\
\hline
\end{DoxyParams}


Definition at line 208 of file slave\+\_\+config.\+c.

\mbox{\label{slave__config_8h_ae795e48b1a36b648bfc6c311b5515789}} 
\index{slave\+\_\+config.\+h@{slave\+\_\+config.\+h}!ec\+\_\+slave\+\_\+config\+\_\+sdo\+\_\+count@{ec\+\_\+slave\+\_\+config\+\_\+sdo\+\_\+count}}
\index{ec\+\_\+slave\+\_\+config\+\_\+sdo\+\_\+count@{ec\+\_\+slave\+\_\+config\+\_\+sdo\+\_\+count}!slave\+\_\+config.\+h@{slave\+\_\+config.\+h}}
\subsubsection{ec\+\_\+slave\+\_\+config\+\_\+sdo\+\_\+count()}
{\footnotesize\ttfamily unsigned int ec\+\_\+slave\+\_\+config\+\_\+sdo\+\_\+count (\begin{DoxyParamCaption}\item[{const \textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$}]{sc }\end{DoxyParamCaption})}



Get the number of S\+DO configurations. 

\begin{DoxyReturn}{Returns}
Number of S\+DO configurations. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em sc} & Slave configuration. \\
\hline
\end{DoxyParams}


Definition at line 372 of file slave\+\_\+config.\+c.

\mbox{\label{slave__config_8h_a8465a530f6397357f3b6559c70da3a36}} 
\index{slave\+\_\+config.\+h@{slave\+\_\+config.\+h}!ec\+\_\+slave\+\_\+config\+\_\+get\+\_\+sdo\+\_\+by\+\_\+pos\+\_\+const@{ec\+\_\+slave\+\_\+config\+\_\+get\+\_\+sdo\+\_\+by\+\_\+pos\+\_\+const}}
\index{ec\+\_\+slave\+\_\+config\+\_\+get\+\_\+sdo\+\_\+by\+\_\+pos\+\_\+const@{ec\+\_\+slave\+\_\+config\+\_\+get\+\_\+sdo\+\_\+by\+\_\+pos\+\_\+const}!slave\+\_\+config.\+h@{slave\+\_\+config.\+h}}
\subsubsection{ec\+\_\+slave\+\_\+config\+\_\+get\+\_\+sdo\+\_\+by\+\_\+pos\+\_\+const()}
{\footnotesize\ttfamily const \textbf{ ec\+\_\+sdo\+\_\+request\+\_\+t}$\ast$ ec\+\_\+slave\+\_\+config\+\_\+get\+\_\+sdo\+\_\+by\+\_\+pos\+\_\+const (\begin{DoxyParamCaption}\item[{const \textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$}]{sc,  }\item[{unsigned int}]{pos }\end{DoxyParamCaption})}



Finds an S\+DO configuration via its position in the list. 

Const version.

\begin{DoxyReturn}{Returns}
Search result, or N\+U\+LL. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em sc} & Slave configuration. \\
\hline
{\em pos} & Position in the list. \\
\hline
\end{DoxyParams}


Definition at line 394 of file slave\+\_\+config.\+c.

\mbox{\label{slave__config_8h_aa8f308d05844508a60fa5e743b8781d3}} 
\index{slave\+\_\+config.\+h@{slave\+\_\+config.\+h}!ec\+\_\+slave\+\_\+config\+\_\+idn\+\_\+count@{ec\+\_\+slave\+\_\+config\+\_\+idn\+\_\+count}}
\index{ec\+\_\+slave\+\_\+config\+\_\+idn\+\_\+count@{ec\+\_\+slave\+\_\+config\+\_\+idn\+\_\+count}!slave\+\_\+config.\+h@{slave\+\_\+config.\+h}}
\subsubsection{ec\+\_\+slave\+\_\+config\+\_\+idn\+\_\+count()}
{\footnotesize\ttfamily unsigned int ec\+\_\+slave\+\_\+config\+\_\+idn\+\_\+count (\begin{DoxyParamCaption}\item[{const \textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$}]{sc }\end{DoxyParamCaption})}



Get the number of I\+DN configurations. 

\begin{DoxyReturn}{Returns}
Number of S\+DO configurations. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em sc} & Slave configuration. \\
\hline
\end{DoxyParams}


Definition at line 416 of file slave\+\_\+config.\+c.

\mbox{\label{slave__config_8h_ad0f79036d990fb9b8b609302580b3136}} 
\index{slave\+\_\+config.\+h@{slave\+\_\+config.\+h}!ec\+\_\+slave\+\_\+config\+\_\+get\+\_\+idn\+\_\+by\+\_\+pos\+\_\+const@{ec\+\_\+slave\+\_\+config\+\_\+get\+\_\+idn\+\_\+by\+\_\+pos\+\_\+const}}
\index{ec\+\_\+slave\+\_\+config\+\_\+get\+\_\+idn\+\_\+by\+\_\+pos\+\_\+const@{ec\+\_\+slave\+\_\+config\+\_\+get\+\_\+idn\+\_\+by\+\_\+pos\+\_\+const}!slave\+\_\+config.\+h@{slave\+\_\+config.\+h}}
\subsubsection{ec\+\_\+slave\+\_\+config\+\_\+get\+\_\+idn\+\_\+by\+\_\+pos\+\_\+const()}
{\footnotesize\ttfamily const \textbf{ ec\+\_\+soe\+\_\+request\+\_\+t}$\ast$ ec\+\_\+slave\+\_\+config\+\_\+get\+\_\+idn\+\_\+by\+\_\+pos\+\_\+const (\begin{DoxyParamCaption}\item[{const \textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$}]{sc,  }\item[{unsigned int}]{pos }\end{DoxyParamCaption})}



Finds an I\+DN configuration via its position in the list. 

Const version.

\begin{DoxyReturn}{Returns}
Search result, or N\+U\+LL. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em sc} & Slave configuration. \\
\hline
{\em pos} & Position in the list. \\
\hline
\end{DoxyParams}


Definition at line 438 of file slave\+\_\+config.\+c.

\mbox{\label{slave__config_8h_ab171d9cd640f7c30268e92632e919c02}} 
\index{slave\+\_\+config.\+h@{slave\+\_\+config.\+h}!ec\+\_\+slave\+\_\+config\+\_\+find\+\_\+sdo\+\_\+request@{ec\+\_\+slave\+\_\+config\+\_\+find\+\_\+sdo\+\_\+request}}
\index{ec\+\_\+slave\+\_\+config\+\_\+find\+\_\+sdo\+\_\+request@{ec\+\_\+slave\+\_\+config\+\_\+find\+\_\+sdo\+\_\+request}!slave\+\_\+config.\+h@{slave\+\_\+config.\+h}}
\subsubsection{ec\+\_\+slave\+\_\+config\+\_\+find\+\_\+sdo\+\_\+request()}
{\footnotesize\ttfamily \textbf{ ec\+\_\+sdo\+\_\+request\+\_\+t}$\ast$ ec\+\_\+slave\+\_\+config\+\_\+find\+\_\+sdo\+\_\+request (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$}]{sc,  }\item[{unsigned int}]{pos }\end{DoxyParamCaption})}



Finds a CoE handler via its position in the list. 

\begin{DoxyReturn}{Returns}
Search result, or N\+U\+LL. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em sc} & Slave configuration. \\
\hline
{\em pos} & Position in the list. \\
\hline
\end{DoxyParams}


Definition at line 460 of file slave\+\_\+config.\+c.

\mbox{\label{slave__config_8h_aa1734ae1f8efd8a7f4504f64c0bc1c2e}} 
\index{slave\+\_\+config.\+h@{slave\+\_\+config.\+h}!ec\+\_\+slave\+\_\+config\+\_\+find\+\_\+reg\+\_\+request@{ec\+\_\+slave\+\_\+config\+\_\+find\+\_\+reg\+\_\+request}}
\index{ec\+\_\+slave\+\_\+config\+\_\+find\+\_\+reg\+\_\+request@{ec\+\_\+slave\+\_\+config\+\_\+find\+\_\+reg\+\_\+request}!slave\+\_\+config.\+h@{slave\+\_\+config.\+h}}
\subsubsection{ec\+\_\+slave\+\_\+config\+\_\+find\+\_\+reg\+\_\+request()}
{\footnotesize\ttfamily \textbf{ ec\+\_\+reg\+\_\+request\+\_\+t}$\ast$ ec\+\_\+slave\+\_\+config\+\_\+find\+\_\+reg\+\_\+request (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$}]{sc,  }\item[{unsigned int}]{pos }\end{DoxyParamCaption})}



Finds a register handler via its position in the list. 

\begin{DoxyReturn}{Returns}
Search result, or N\+U\+LL. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em sc} & Slave configuration. \\
\hline
{\em pos} & Position in the list. \\
\hline
\end{DoxyParams}


Definition at line 482 of file slave\+\_\+config.\+c.

\mbox{\label{slave__config_8h_a8dd6f6985e8c7505b22d61816a312403}} 
\index{slave\+\_\+config.\+h@{slave\+\_\+config.\+h}!ec\+\_\+slave\+\_\+config\+\_\+find\+\_\+voe\+\_\+handler@{ec\+\_\+slave\+\_\+config\+\_\+find\+\_\+voe\+\_\+handler}}
\index{ec\+\_\+slave\+\_\+config\+\_\+find\+\_\+voe\+\_\+handler@{ec\+\_\+slave\+\_\+config\+\_\+find\+\_\+voe\+\_\+handler}!slave\+\_\+config.\+h@{slave\+\_\+config.\+h}}
\subsubsection{ec\+\_\+slave\+\_\+config\+\_\+find\+\_\+voe\+\_\+handler()}
{\footnotesize\ttfamily \textbf{ ec\+\_\+voe\+\_\+handler\+\_\+t}$\ast$ ec\+\_\+slave\+\_\+config\+\_\+find\+\_\+voe\+\_\+handler (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$}]{sc,  }\item[{unsigned int}]{pos }\end{DoxyParamCaption})}



Finds a VoE handler via its position in the list. 

\begin{DoxyReturn}{Returns}
Search result, or N\+U\+LL. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em sc} & Slave configuration. \\
\hline
{\em pos} & Position in the list. \\
\hline
\end{DoxyParams}


Definition at line 504 of file slave\+\_\+config.\+c.

